<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@include file="_common/title.jsp" %>
<%
    if (null == session.getAttribute("user")) {
        response.sendRedirect("login.jsp");
    }
%>
<body>
    <%@include  file="_common/header.jsp" %>
    <%@include  file="_common/col-left.jsp" %>

    <div class="col-main col-xs-12 col-sm-6 col-md-9">
        <div class="content-main">
            <div class="title-main">List Email</div>
            <table cellspacing="0" cellpadding="0" class="mailbox">
                <tbody>
                    <tr>
                        <th class="action_section m_inputs_section">Select</th>
                        <th class="action_section m_inputs_section">Email</th>                                                                                                               
                    </tr>

                <tbody>
                    <html:form action="addEmailIdToSection.do" method="post">
                        <logic:iterate id="useritem" name="Mail" property="mail">
                            <tr class="not_filled mailbox_row">
                                <td style="height:24px !important;"><input style="text-align: center;width: 100%" type="checkbox" value="${useritem.recipient}" name="emailId"/></td>
                                <td style="height:24px !important;color:green">${useritem.recipient}</td>
                            </tr>

                        </logic:iterate>
                        <tr>
                    <input type="submit" value="Choice"/>
                    </tr>
                </html:form>
                </tbody>
            </table>

        </div>
    </div>

    <%@include file="_common/footer.jsp" %>

</body>
</html>


